package com.sda.huoshui.api

import okhttp3.ResponseBody
import retrofit2.http.*
import rx.Observable

@JvmSuppressWildcards
interface RetrofitService {

    //======================================== 中间件相关 ===============================================
    //主页底部
    @FormUrlEncoded
    @POST(BaseUrl.getAppBottom)
    fun getAppBottom(@FieldMap map: Map<String, Any>): Observable<ResponseBody>

    //首页数据
    @FormUrlEncoded
    @POST(BaseUrl.getCateData)
    fun getCateData(@FieldMap map: Map<String, Any>): Observable<ResponseBody>

}